<?php /* Smarty version 2.6.26, created on 2010-07-01 03:21:01
         compiled from announce.tpl */ ?>
<div id="container">
<table width="960" cellpadding="0" cellspacing="0" border="0" id="table">
<tr><th height="40" style="text-align:center;">-----最新消息-----</th></tr>
<tr><td height="600" style="vertical-align:top;">
<table width="850" border="0" align="center" cellpadding="0" cellspacing="1" id="tb_share">
  <tr>
    <th style="color:#FFFFFF" width="550">标题</th>
    <th style="color:#FFFFFF" width="100">发布者</th>
    <th style="color:#FFFFFF" width="200">发布时间</th>    
  </tr>  
  <?php unset($this->_sections['index']);
$this->_sections['index']['name'] = 'index';
$this->_sections['index']['loop'] = is_array($_loop=$this->_tpl_vars['annrows']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['index']['show'] = true;
$this->_sections['index']['max'] = $this->_sections['index']['loop'];
$this->_sections['index']['step'] = 1;
$this->_sections['index']['start'] = $this->_sections['index']['step'] > 0 ? 0 : $this->_sections['index']['loop']-1;
if ($this->_sections['index']['show']) {
    $this->_sections['index']['total'] = $this->_sections['index']['loop'];
    if ($this->_sections['index']['total'] == 0)
        $this->_sections['index']['show'] = false;
} else
    $this->_sections['index']['total'] = 0;
if ($this->_sections['index']['show']):

            for ($this->_sections['index']['index'] = $this->_sections['index']['start'], $this->_sections['index']['iteration'] = 1;
                 $this->_sections['index']['iteration'] <= $this->_sections['index']['total'];
                 $this->_sections['index']['index'] += $this->_sections['index']['step'], $this->_sections['index']['iteration']++):
$this->_sections['index']['rownum'] = $this->_sections['index']['iteration'];
$this->_sections['index']['index_prev'] = $this->_sections['index']['index'] - $this->_sections['index']['step'];
$this->_sections['index']['index_next'] = $this->_sections['index']['index'] + $this->_sections['index']['step'];
$this->_sections['index']['first']      = ($this->_sections['index']['iteration'] == 1);
$this->_sections['index']['last']       = ($this->_sections['index']['iteration'] == $this->_sections['index']['total']);
?>
  <tr>
    <td><a id="a_announce" href="ann_view.php?anid=<?php echo $this->_tpl_vars['annrows'][$this->_sections['index']['index']]['anid']; ?>
"><?php echo $this->_tpl_vars['annrows'][$this->_sections['index']['index']]['title']; ?>
</a></td>
    <td><?php echo '<?php'; ?>
 echo $uname;<?php echo '?>'; ?>
<?php echo $this->_tpl_vars['annrows'][$this->_sections['index']['index']]['uname']; ?>
</td>
    <td><?php echo $this->_tpl_vars['annrows'][$this->_sections['index']['index']]['to_char']; ?>
</td>
  </tr>
  <?php endfor; endif; ?>
</table>
</td></tr></table>
</div>
